package com.hotai.vo.sho;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import java.util.ArrayList;
import java.util.Date;

@Data
@JsonIgnoreProperties(value = {"pattern","fname","subject","clas"})
public class XueShoLIst {
    private  Integer id;
    private  String fname;
    private  String  subject;
    private  String clas;
    private  String cname;
    private  String img;
    private  String wen;
    private  String wename;
    private  Integer capacity;
    private  String  md;
    private Integer status;
    private  String  pattern;//模式
    private ArrayList<String> patterns;//模式
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//存到数据库
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") //从数据库
    private Date shDate;
}
